import React from 'react'
import { Layout} from 'antd';
import Table from '../Table';
import "./tr.css"

const {Content} = Layout;

const System = () => {

  const columns = [
    {
      title: '管理员头像',
      key: 'adminImg',
      dataIndex: 'adminImg',
      valueType: 'avatar',
      hideInSearch:true
    },
    {
      title: '姓名',
      key: 'adminName',
      dataIndex: 'adminName',
      valueType: 'text'
    },
    {
      title: '地址',
      key: 'adminAddr',
      dataIndex: 'adminAddr',
      valueType: 'text'
    },
    
    {
      title: '手机号',
      key: 'adminTno',
      dataIndex: 'adminTno',
      valueType: 'text',
      ellipsis:true
    }];
  
    const right = {}


  return (
    <Content className="site-layout-background" style={{paddingLeft: 10,margin: 0,minHeight: 280,}}>
          <Table title="系统管理" columns={columns} right={right} ques={[]} url="http://49.233.107.127:2002/admin"/>
          
    </Content>
  )
}

export default System
